const { mongoose } = require('../db')

const blogSchema = new mongoose.Schema({
  title: String,
  content: String,
  createtime: String,
  author: String,
})

const Blog = mongoose.model('blog', blogSchema)

module.exports = Blog
